<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Login
 *
 * @author jhonny
 */
class UserLogin {
    private $soy;
    private $busco;
    /**
     *
     * @var String
     */
    private $userName;
    /**
     *
     * @var String
     */
    private $password;
    /**
     *
     * @var String
     */
    private $email;
    /**
     *
     * @var Boolean
     */
    private $soyMayorEdad;
    /**
     *
     * @var Boolean
     */
    private $quieroRecibirMails;
    /**
     * inidca si el usuario
     * @var Boolean
     */
    private $activo;
    /**
     *
     * @var <type>
     */
    private $uidMailRegistration;

    public function __construct() {
        $this->activo = Boolean.FALSE;
    }

    public function getSoy() {
        return $this->soy;
    }

    public function setSoy($soy) {
        $this->soy = $soy;
    }

    public function getBusco() {
        return $this->busco;
    }

    public function setBusco($busco) {
        $this->busco = $busco;
    }

    public function getUserName() {
        return $this->userName;
    }

    public function setUserName($userName) {
        $this->userName = $userName;
    }

    public function getPassword() {
        return $this->password;
    }

    public function setPassword($password) {
        $this->password = $password;
    }

    public function getEmail() {
        return $this->email;
    }

    public function setEmail($email) {
        $this->email = $email;
    }

    public function getSoyMayorEdad() {
        return $this->soyMayorEdad;
    }

    public function setSoyMayorEdad($soyMayorEdad) {
        $this->soyMayorEdad = $soyMayorEdad;
    }

    public function getQuieroRecibirMails() {
        return $this->quieroRecibirMails;
    }

    public function setQuieroRecibirMails($quieroRecibirMails) {
        $this->quieroRecibirMails = $quieroRecibirMails;
    }
    public function getActivo() {
        return $this->activo;
    }

    public function setActivo($activo) {
        $this->activo = $activo;
    }

    public function getUidMailRegistration() {
        return $this->uidMailRegistration;
    }

    public function setUidMailRegistration($uidMailRegistration) {
        $this->uidMailRegistration = $uidMailRegistration;
    }

    public function setRegistrationVO(RegistrationVO $registration){
        $this->setSoy($registration->getSoy());
        $this->setBusco($registration->getBusco());
        $this->setUserName($registration->getUser());
        $this->setPassword($registration->getPassword());
        $this->setEmail($registration->getEmail());
        $this->setSoyMayorEdad($registration->getSoyMayorEdad());
        $this->setQuieroRecibirMails($registration->getQuieroRecibirMails());
    }


}
?>
